/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ComponenteDatos;

import ComponenteClase.Contado;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author MIGUEL ARANA
 */
public interface ContadoDAO {

    public void insertarPagoContado(Contado c) throws SQLException;

    /*public static boolean eliminarTransaccion(int idcomp,int idprod) throws SQLException {
    Connection cnn = BD.getConnection();
    PreparedStatement ps = null;
    ps = cnn.prepareStatement("delete from TRANSACCION WHERE idcompra=? and idProducto=?");
    ps.setInt(1, idcomp);
    ps.setInt(2, idprod);
    int rowsUpdated = ps.executeUpdate();
    cnn.close();
    ps.close();
    if (rowsUpdated > 0) {
    return true;
    } else {
    return false;
    }
    }*/
    
    public List<Contado> mostrarPagoContado() throws SQLException;
}